package cn.jjxx.modules.resources.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.resources.mapper.HrOverviewMapper;
import cn.jjxx.modules.resources.entity.HrOverview;
import cn.jjxx.modules.resources.service.IHrOverviewService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 人力资源总览
 * @Description: 人力资源总览
 * @author TianShixi
 * @date 2021-06-28 14:40:03
 * @version V1.0   
 *
 */
@Transactional
@Service("hrOverviewService")
public class HrOverviewServiceImpl  extends CommonServiceImpl<HrOverviewMapper,HrOverview> implements  IHrOverviewService {

	@Override
	public boolean insertBatch(List<HrOverview> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<HrOverview> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
